package com.youlai.boot.factory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.factory.model.entity.GarmentCuttingBed;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.query.GarmentCuttingBedQuery;
import com.youlai.boot.factory.model.vo.GarmentCuttingBedVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 裁床单Mapper接口
 *
 * @author youlaitech
 * @since 2025-08-24 14:08
 */
@Mapper
public interface GarmentCuttingBedMapper extends BaseMapper<GarmentCuttingBed> {

    /**
     * 获取裁床单分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<GarmentCuttingBedVO>} 裁床单分页列表
     */
    Page<GarmentCuttingBedVO> getGarmentCuttingBedPage(Page<GarmentCuttingBedVO> page, GarmentCuttingBedQuery queryParams);


    GarmentCuttingBedVO getGarmentCuttingBedJoinFormData(Long id);
}
